package com.base.self.dto.slideshow;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class SlideshowWebAddDTO implements Serializable {
    @ApiModelProperty(value = "首页轮播图名称")
    @NotBlank(message = "首页轮播图名称不能为空")
    private String slideName;

    @ApiModelProperty(value = "首页轮播图地址")
    @NotBlank(message = "首页轮播图名称不能为空")
    private String slideSrc;
}
